﻿using Core.DomainServices;
using NLog;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace Infrastructure.DomainServices
{
    public class FileLogger : ILoggerService
    {
        private readonly Logger logger;

        public FileLogger()
        {
            logger = new LogFactory().GetLogger("DefaultLogger");
        }
        public void LogError(string message)
        {
            logger.Error(message);
        }
    }
}
